namespace AbpCqrsTest.Commands
{
	using AbpPlus.Commands;

	/// <summary>
	/// The hello world command 2.
	/// </summary>
	public class HelloWorldCommand2 : Command<HelloWorldCommandResponse>
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="HelloWorldCommand2"/> class.
		/// </summary>
		/// <param name="name">
		/// The name.
		/// </param>
		public HelloWorldCommand2(string name)
		{
			this.Name = name;
		}
		
		/// <summary>
		/// Gets or sets the name.
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// The is valid.
		/// </summary>
		/// <returns>
		/// The <see cref="bool"/>.
		/// </returns>
		public override bool IsValid()
		{
			return true;
		}
	}
}